/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package no.ffi.fca.db.result;

import java.util.ArrayList;

/**
 *
 * @author stian
 */
public class UserList {

    public class User {
        public int id;
        public String name;
        public String email;
        
        public User(int id, String name, String email) {
            this.id = id;
            this.name = name;
            this.email = email;
        }
    }
    
    public ArrayList<User> userList;
    
    public UserList() {
        userList = new ArrayList<>();
    }
    
    public void add(int id, String name, String email) {
        userList.add(new User(id, name, email));
    }
}